package bog

class Tag {
    String description;

    /*************************************/
    /** relationships                   **/
    /*************************************/
    static hasMany = [
            threads: Thread
    ]

    static belongsTo = Thread
    /*************************************/

    static constraints = {
        description (blank: false)
    }

    public String toString() {
        return description
    }
}
